/**
 * Feature.js
 *
 * @description :: TODO: You might write a short summary of how this model works and what it represents here.
 * @docs        :: http://sailsjs.org/documentation/concepts/models-and-orm/models
 */
var uuid = require('node-uuid');
module.exports = {

  tableName: 'sails_featuredProducts',
  autoCreatedAt: false,
  autoUpdatedAt: false,
  attributes: {
    id: {
      type: 'string',
      columnName: 'id',
      defaultsTo: function () {
        return uuid.v4();
      }
    },

    feature: {
      type: 'string',
      columnName: 'feature',
    },

    product: {
      type: 'string',
      columnName: 'products',
    },

    remark: {
      type: 'string',
      columnName: 'remark'
    }
  }
};

